package com.woniu.register.mapper;

import com.woniu.register.dto.DirDTO;
import com.woniu.register.vo.DirectoryLiVO;
import com.woniu.register.dto.DirectoryLiDTO;
import com.woniu.register.entity.Directory;
import com.woniu.register.vo.DirectoryLiVO;
import com.woniu.register.vo.JbzkVO;
import com.woniu.register.vo.SyqVO1;
import com.woniu.register.vo.SyqVO2;

import java.util.List;

/**
* @author PC
* @description 针对表【directory(登记薄表)】的数据库操作Mapper
* @createDate 2022-12-07 18:02:39
* @Entity com.woniu.register.entity.Directory
*/
public interface DirectoryMapper {

    SyqVO1 selectSyq1VOByDirectoryId(Long directoryId);

    SyqVO2 selectSyq2VOByDirectoryId(Long directoryId);

    JbzkVO selectJbzkByDirectoryId(Long directoryId);

    DirectoryLiVO selectDirectoryNumAndHigherMound(Long directoryId);

    List<DirectoryLiVO> selectAllDirectory(DirectoryLiDTO directoryLiDTO);

    int deleteByPrimaryKey(Long id);

    int insert(Directory record);

    int insertSelective(Directory record);

    Directory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Directory record);
    Directory selectByDirectoryNum(String directoryNum);

    int updateByPrimaryKey(Directory record);

    int insertDirectory();

    int selectId();

    int insertNew(DirDTO dto);

}
